package com.xseagull.account.common;

public enum  ResultCode {
	
	SUCCESS(200, "OK"),
    NOT_FOUND(404, "Not Found"),
    NOT_SUPPORTED(405, "Not Supported"),
    INTERNAL_SERVER_ERROR(500, "Internal Server Error"),
    SERVICE_UNAVAILABLE(503, "Service Unavailable"),
    
    UNAUTHORIZED(10000, "Unauthorized"),
    SIGN_ERROR(10001, "Sign Error"),
    PARAMETER_ERROR(10002, "Parameter Error"),
    OTHER_ERROR(10003, "Other Error"),
	NOT_EMPOWER(10004, "NOT_EMPOWER");

    private int code;
    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
